<?php
switch($action){
    case 'get_data':
        exit();
        break;
    default:
        $cat_id = intval($cat_id);
        $root_id = get_module_root_category_id($cat_id);
        break;
}
?>